#ifndef TREATMESS_H
#define TREATMESS_H

//Message treating.The most import functions
void TreatNoOperation(struct sockaddr *from, struct MessageFormat *mess);
void TreatBrEntry(struct sockaddr *from, struct MessageFormat *mess);
void TreatAnsEntry(struct sockaddr *from, struct MessageFormat *mess);
void TreatSendMsg(struct sockaddr *from, struct MessageFormat *mess);
void TreatRecvMsg(struct sockaddr *from, struct MessageFormat *mess);
//struct
//it's used by some callback function
struct PassAddress
{
	gchar *ip;
	int result;
};
#endif

